package com.yehuishou.service.impl;

import java.util.Date;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yehuishou.dao.EnterpriseBackDao;
import com.yehuishou.pojo.EnterpriseBack;
import com.yehuishou.service.EnterprisebackService;


@Service
public class EnterprisebackServiceImpl implements EnterprisebackService{

	@Resource
	private EnterpriseBackDao enterprisebackDao;
	
	
	@Override
	public void insertEnterpriseback(String companyname, String clientname, String phone, String descripinfo,
			Date addtime,Integer uid) {
		EnterpriseBack ep = new EnterpriseBack();
		ep.setCompanyname(companyname);
		ep.setClientname(clientname);
		ep.setDescripinfo(descripinfo);
		ep.setPhone(phone);
		ep.setAddtime(addtime);
		ep.setStatus(0);
		ep.setUid(uid);
		enterprisebackDao.insertEnterpriseback(ep);
	}

}
